package fr.gedos.ged.classifier.core.entities.dao.bean;

/**
 * @author cbelhaffef
 */

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;


@Entity
@NamedQueries({
	@NamedQuery(name="IndicateurCode.getAll", query="From IndicateurCode indc")
})

@Table (name="cassandre_indicateur_code")
	//uniqueConstraints = {@UniqueConstraint(columnNames = {"position"})})
public class Word {

	@Id
	@Column(name="id_word")
	@GenericGenerator(name = "generator", strategy = "increment")
	@GeneratedValue(generator = "generator")
	private int id_word;
	
	@Column(name="position_word")
	private int position_word;
	
	@Column(name="value_word")
	private int value_word;

	public int getId_word() {
		return id_word;
	}

	public void setId_word(int id_word) {
		this.id_word = id_word;
	}

	public int getPosition_word() {
		return position_word;
	}

	public void setPosition_word(int position_word) {
		this.position_word = position_word;
	}

	public int getValue_word() {
		return value_word;
	}

	public void setValue_word(int value_word) {
		this.value_word = value_word;
	}
	

	
}
